package larpplanner.database;

@DBTable("player_quest_char")
public class Participant implements DBObject {

	public static final String QUESTID_COL     = "quest_id";
	public static final String PLAYERID_COL    = "player_id";
	public static final String CHARID_COL      = "char_id";
	
	@DBCol(QUESTID_COL)
	protected long questID;
	
	@DBCol(PLAYERID_COL)
	protected long playerID;
	
	@DBCol(CHARID_COL)
	protected long charID;
	
	public Participant() {}

	public Participant(long questID, long playerID, long charID) {
		this.questID = questID;
		this.playerID = playerID;
		this.charID = charID;
	}

	public long getQuestID() {
		return questID;
	}

	public void setQuestID(long questID) {
		this.questID = questID;
	}

	public long getPlayerID() {
		return playerID;
	}

	public void setPlayerID(long playerID) {
		this.playerID = playerID;
	}

	public long getCharID() {
		return charID;
	}

	public void setCharID(long charID) {
		this.charID = charID;
	}
	
	
}
